/*
 * Copyright (c) 1997 - 2012 Rakuten, Inc. All Rights Reserved.
 * $Id$
 * Created on 2012/05/24
 */
package com.rakuten.api.mule.model.item;

import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonPropertyOrder;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 *
 * @author hayatsu
 */
@JsonPropertyOrder({
	"width",
	"height",
	"location",
	"alt"
})
@JsonAutoDetect
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class ItemImage implements java.io.Serializable  {
	@JsonIgnore
	private String id;
	@JsonIgnore
	private String ownerId;
	@JsonIgnore
	private int sequence;
	private Integer width;
	private Integer height;
	private String location;
	private String alt;

	public String getId(){
		return id;
	}

	/**
	 * <p>The unique identifier for this object.</p>
	 * <p>
	 * Possible type of IDs are itemImageId and itemVariantImageId at the moment of this writing.
	 * </p>
	 */
	public void setId(String id){
		this.id=id;
	}

	/**
	 * <p>The owner of this image and possible other sibling images.</p>
	 * <p>
	 * Possible type of IDs are itemId and itemVariantId at the moment of this writing.
	 * </p>
	 */
	public String getOwnerId(){
		return ownerId;
	}

	public void setOwnerId(String ownerId){
		this.ownerId=ownerId;
	}

	public int getSequence(){
		return sequence;
	}

	public void setSequence(int sequence){
		this.sequence=sequence;
	}

	public String getAlt(){
		return alt;
	}

	public void setAlt(String alt){
		this.alt=alt;
	}

	public Integer getHeight(){
		return height;
	}

	public void setHeight(Integer height){
		this.height=height;
	}

	public String getLocation(){
		return location;
	}

	public void setLocation(String location){
		this.location=location;
	}

	public Integer getWidth(){
		return width;
	}

	public void setWidth(Integer width){
		this.width=width;
	}


}
